import React, { useCallback, useEffect, useRef, useMemo } from 'react';
import { Table } from 'antd';

const StickyTable = React.memo(
  ({ scroll, prefix = 'ant', onChange, searchId, showSearch, ...restProps }) => {
    return (
      <>
       <Table
            {...restProps}
            locale={{
              emptyText: (
                <div className="nuo-empty">
                  <div>暂无数据</div>
                </div>
              ),
            }}
          />
      </>
    );
  },
);

export default StickyTable;
